The pressure regulating device works by monitoring the pressure within the system and adjusting it as needed to ensure it stays within the desired range. This is typically done using a valve that opens or closes in response to changes in pressure. When the pressure exceeds the set limit, the valve will open to release excess pressure, and when the pressure drops below the set limit, the valve will close to prevent a loss of pressure.